package com.xzh.service;

import com.xzh.model.Reviews;
import com.xzh.model.search.ReviewDao;

import java.util.List;
import java.util.Map;

public interface ReviewsService {

    List<Reviews> selectList();

    boolean save(Reviews reviews);

    boolean removeById(Integer id);

    int updateById(Reviews reviews);

    Reviews selectById(Integer id);

    boolean saveList(ReviewDao reviewDao);

    List<Map<String, Object>> statistics();
}
